package net.ideapad.data;

import java.sql.Timestamp;


/**
 * AbstractVote entity provides the base persistence definition of the Vote entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractVote  implements java.io.Serializable {


    // Fields    

     private Integer voteId;
     private User user;
     private Integer voteValue;
     private Timestamp voteTime;
     private Idea idea;


    // Constructors

    /** default constructor */
    public AbstractVote() {
    }

	/** minimal constructor */
    public AbstractVote(User user) {
        this.user = user;
    }
    
    /** full constructor */
    public AbstractVote(User user, Integer voteValue, Timestamp voteTime, Idea idea) {
        this.user = user;
        this.voteValue = voteValue;
        this.voteTime = voteTime;
        this.idea = idea;
    }

   
    // Property accessors

    public Integer getVoteId() {
        return this.voteId;
    }
    
    public void setVoteId(Integer voteId) {
        this.voteId = voteId;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public Integer getVoteValue() {
        return this.voteValue;
    }
    
    public void setVoteValue(Integer voteValue) {
        this.voteValue = voteValue;
    }

    public Timestamp getVoteTime() {
        return this.voteTime;
    }
    
    public void setVoteTime(Timestamp voteTime) {
        this.voteTime = voteTime;
    }

    public Idea getIdea() {
        return this.idea;
    }
    
    public void setIdea(Idea idea) {
        this.idea = idea;
    }
   








}